package com.xyoto.community.po;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author coderFu
 * @create 2021/10/7
 */
@ApiModel("动态或者问答详情信息")
@Data
public class ContentDetailsPO {

    @ApiModelProperty("动态或问答id")
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("用户昵称")
    private String  nickname;

    @ApiModelProperty("用户头像")
    private String avatarUrl;

    @ApiModelProperty("动态|问答内容")
    private String  content;

    @ApiModelProperty("话题id")
    private Integer topicId;

    @ApiModelProperty("话题名称")
    private String  title;

    @ApiModelProperty("匿名状态")
    private Integer status;

    @ApiModelProperty("图片列表")
    private List<DynamicPicturePO>  dynamicPicturePo;

    @ApiModelProperty("头衔")
    @JsonProperty("userTitle")
    private UserTitlePO userTitlePO;


    public ContentDetailsPO() {
    }


}
